SmartCrawl\Redirects\Controller C

Total Complexity 122
Dependencies 8
Dependents 2
Total lines 779
Lines of code 484
Logical lines of code 267
Comment lines 182
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
import_redirects_from_csv()
A
38 14 73
save_redirect()
A
44 12 42
bulk_update_redirects()
A
45 10 44
intercept()
A
48 10 35
find_regex_redirect()
S
55 7 19
get_redirects()
S
56 6 19
smartcrawl_page_redirect()
S
56 6 18
export_csv()
S
49 5 32
display_upgrade_notice()
S
49 4 35
redirect_attachments()
S
56 5 18
find_geo_destination()
S
63 6 10
find_match()
S
60 4 13
allowed_hosts_filter()
S
58 3 17
get_current_url()
S
63 4 9
delete_redirect()
S
61 3 13
find_plain_redirect()
S
64 3 11
init()
S
55 2 18
upgrade_table()
S
72 3 5
get_request_data()
S
76 3 3
should_run()
S
71 3 5
get_url_query_vars()
S
69 2 7
maybe_create_table()
S
71 2 6
to_safe_redirection()
S
65 1 9
find_regex_destination()
S
67 1 8
sanitize_post_redirect()
S
67 1 8
is_source_regex_invalid()
S
73 1 4
get_current_path()
S
80 1 3